package cn.iocoder.yudao.module.bpm.controller.admin.modeltemplate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 流程模板 Response VO")
@Data
public class ModelTemplateRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29529")
    private Long id;

    @Schema(description = "流程标识", requiredMode = Schema.RequiredMode.REQUIRED)
    private String modelKey;

    @Schema(description = "流程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    private String name;

    @Schema(description = "流程分类")
    private Integer category;

    @Schema(description = "原始模型id")
    private String modelId;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "模型流程配置")
    private String bpmnXml;

    @Schema(description = "是否可使用")
    private boolean used;

}